package com.lifu.yygh.hosp.service;


import com.lifu.yygh.model.hosp.Department;
import com.lifu.yygh.vo.hosp.DepartmentQueryVo;
import com.lifu.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @Description
 * @Author lifu
 * @Date 2021/5/13 15:45
 */
public interface DepartmentService {
    void save(Map<String, Object> paramMap);

    Page<Department> findPageDepartment(Integer page, Integer limit, DepartmentQueryVo departmentQueryVo);

    void remove(String hoscode, String depcode);

    List<DepartmentVo> findDeptTree(String hoscode);

    String  getDepName(String hoscode, String depcode);

    Department getDepartment(String hoscode, String depcode);
}
